package org.barman.exception;

public class CustomMessageException extends Exception {

	private final String customMessage;

	/**
	 * 
	 */
	private static final long serialVersionUID = 6074870846347393155L;

	public CustomMessageException(String customMessage) {
		this(customMessage, null, null);
	}

	public CustomMessageException(String customMessage, String message) {
		this(customMessage, message, null);
	}

	public CustomMessageException(String customMessage, String message, Throwable throwable) {
		super(message, throwable);
		this.customMessage = customMessage;
	}

	public String getCustomMessage() {
		return customMessage;
	}
}
